package com.liu.mapper;

import com.liu.pojo.Manager;
import com.liu.pojo.PageBean;
import com.liu.pojo.VideoUrl;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ManageMapper {

    Integer login(Manager manager);

    void upload(VideoUrl videoUrl);

    List<VideoUrl> getVideo(PageBean pageBean);

    VideoUrl getVideoById(Integer id);

    void delete(Integer id);

    void update(VideoUrl videoUrl);
}
